package com.ruoyi.system.domain.install;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务器对象 dev_server
 *
 * @author ruoyi
 * @date 2024-03-26
 */
public class DevServer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 服务器名称
     */
    @Excel(name = "服务器名称")
    private String sshName;
    /**
     * 服务器ip
     */
    @Excel(name = "服务器ip")
    private String sshIp;
    @Excel(name = "用户")
    private String sshUser;
    /**
     * 服务器密码
     */
    @Excel(name = "服务器密码")
    private String sshPwd;

    /**
     * 服务器端口
     */
    @Excel(name = "服务器端口")
    private Integer sshPort;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSshName(String sshName) {
        this.sshName = sshName;
    }

    public String getSshName() {
        return sshName;
    }

    public String getSshUser() {
        return sshUser;
    }

    public void setSshUser(String sshUser) {
        this.sshUser = sshUser;
    }

    public void setSshIp(String sshIp) {
        this.sshIp = sshIp;
    }

    public String getSshIp() {
        return sshIp;
    }

    public void setSshPwd(String sshPwd) {
        this.sshPwd = sshPwd;
    }

    public String getSshPwd() {
        return sshPwd;
    }

    public void setSshPort(Integer sshPort) {
        this.sshPort = sshPort;
    }

    public Integer getSshPort() {
        return sshPort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sshName", getSshName())
                .append("sshIp", getSshIp())
                .append("sshPwd", getSshPwd())
                .append("sshPort", getSshPort())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
